import instance from '../axios_config'

const getuserroles = async (url: string) => {
  const data = await instance.get(url)
  return data.data
}

const urefreshUser = async (url: string) => {
  await instance.get(url)
}
const editUserRoles = async (url: string, data: any) => {
  await instance.put(url, data)
}
export default {
  getuserroles,
  urefreshUser,
  editUserRoles
}
